package com.cdk8s.tkey.management.mapper;

import com.bcw.sso.model.pojo.SsoClient;
import com.cdk8s.tkey.management.config.CustomBaseMapper;
import com.cdk8s.tkey.management.pojo.dto.param.SsoClientPageQueryParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SsoClientMapper extends CustomBaseMapper<SsoClient> {
    List<SsoClient> selectByPageQueryParam(SsoClientPageQueryParam queryParam);
    List<SsoClient> selectByIdIn(@Param("idList") List<Long> idList);
    int updateDeleteEnumByIdList(@Param("updatedDeleteEnum") Integer updatedDeleteEnum, @Param("idList") List<Long> idList);
    int updateStateEnumByIdList(@Param("updatedStateEnum") Integer updatedStateEnum, @Param("idList") List<Long> idList);
}
